﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ArgusPCLib.Bird
{
	public delegate void UnhandledExceptionEventHandler(object sender, UnhandledExceptionEventArgs e);

	public class UnhandledExceptionEventArgs : EventArgs
	{
		public object ExceptionObject { get; private set; }
		public bool IsExceptionFatal { get; private set; }

		public UnhandledExceptionEventArgs(object exceptionObject, bool isExceptionFatal)
			:base()
		{
			this.ExceptionObject = exceptionObject;
			this.IsExceptionFatal = isExceptionFatal;
		}
	}
}
